﻿using System.Net;

namespace Toybox.NicoSharp.Video
{
	public class Video : Toybox.NicoSharp.Abstracts.AbstractXmlContent
	{

		#region Constructor

		public Video(ContentId contentId, CookieCollection cookies = null)
			: base(contentId, cookies)
		{
		}

		public Video(string completeId, CookieCollection cookies = null)
			: base(completeId, cookies)
		{
		}

		#endregion Constructor


		#region Public Methods

		public ThumbInfo GetThumbInfo()
		{
			return ThumbInfo.Get(this.ContentId.CompleteId, this.Cookies);
		}

		public Flv GetFlv()
		{
			return Flv.Get(this.ContentId.CompleteId, this.Cookies);
		}

		#endregion Public Methods

	}
}
